package com.hxy.subject.domain.convert;

import com.hxy.subject.domain.entity.SubjectMappingBO;
import com.hxy.subject.infra.basic.entity.SubjectMapping;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author haoxuyang
 * @Date 2024/9/2 18:46
 */
@Mapper
public interface SubjectMappingConverter {
    SubjectMappingConverter INSTANCE = Mappers.getMapper(SubjectMappingConverter.class);

    SubjectMapping subjectMappingBoToCategory(SubjectMappingBO bo);

    List<SubjectMappingBO> subjectMappingToBoList(List<SubjectMapping> list);
}
